<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<p>
	<label>考试场地*</label><select name="testPlace" class="form-control "
		id="student-register-select">
		<c:forEach items="${grounds }" var="g">
			<c:if test="${g.id==student.testPlace }">
				<option value="${g.id }" selected="true">${g.address }</option>
			</c:if>
			<c:if test="${g.id!=student.testPlace }">
				<option value="${g.id }">${g.address }</option>
			</c:if>
		</c:forEach>
	</select>
</p>
<p>
	<label>考官*</label><select name="tid" class="form-control "
		id="student-register-select">
		<c:forEach items="${teachers }" var="t">
			<c:if test="${t.id==teacherId }">
				<option value="${t.id }" selected="selected">${t.teacherMes.name }</option>
			</c:if>
			<c:if test="${t.id!=teacherId}">
				<option value="${t.id }">${t.teacherMes.name }</option>
			</c:if>
		</c:forEach>
	</select>
</p>
<p>
	<label>考试开始时间*</label> <input name="beginTime"
		class="form-control datetime" value="${studentMes.beginTime }" />
</p>
<p>
	<label>考试结束时间*</label> <input name="endTime"
		class="form-control datetime" value="${studentMes.endTime }" />
</p>
<link
	href='<%=request.getContextPath()%>/resources/css/datetimepicker.css'
	rel='stylesheet'>
<script
	src="<%=request.getContextPath()%>/resources/js/jquery.datetimepicker.js"></script>
